Action hook 'set_transient_{$transient}'

in WP Core File wp-includes/option.php at line 1562

Description

Fires after the value for a specific transient has been set. The dynamic portion of the hook name, `$transient`, refers to the transient name.

Occurrences

Filename Line Number
wp-includes/option.php 1562

Parameters

Type Name Description
mixed $value Transient value.
int $expiration Time until expiration in seconds.
string $transient The name of the transient.

PHP Doc

/**
		 * Fires after the value for a specific transient has been set.
		 *
		 * The dynamic portion of the hook name, `$transient`, refers to the transient name.
		 *
		 * @since 3.0.0
		 * @since 3.6.0 The `$value` and `$expiration` parameters were added.
		 * @since 4.4.0 The `$transient` parameter was added.
		 *
		 * @param mixed  $value      Transient value.
		 * @param int    $expiration Time until expiration in seconds.
		 * @param string $transient  The name of the transient.
		 */